<fieldset class="layui-elem-field">
    <legend>租房补贴申报信息</legend><!--# if(!has(look)){  --><input type="checkbox" class="validCheckBox" title="检查"><!--# } -->
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">申报档次</label>
				<div class="layui-input-inline">
                    <!--# if(renting.year == null || renting.year < '2019'){
                            -->
                    <input type="text" id="declarationGrade" name="declarationGrade"  value="${renting.totalAmount/renting.numberDeclarations,numberFormat='###,###.00'}"  class="layui-input input-readonly" readonly="true">
                    <!--#} -->
                    <!--# else {-->
                    <layui:simpleDictSelect style='layui-input-inline' type="declarationGrade" id="declarationGrade" name="declarationGrade" readonly="true"
                                            layVerify="required" value="${renting.declarationGrade}"/>
                    <!--# }-->
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">申报月数</label>
				<div class="layui-input-inline">
					<input type="text" id="numberDeclarations" name="numberDeclarations"  value="${renting.numberDeclarations}"   class="layui-input input-readonly" readonly="true">
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">合计金额</label>
				<div class="layui-input-inline">
                    <input type="hidden"  name="totalAmount" value="${renting.totalAmount}">
					<input type="text" id="totalAmount"  value="${renting.totalAmount,numberFormat='###,###.00'}"   class="layui-input input-readonly" readonly="true">
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">申报人类别</label>
                <div class="layui-input-inline">
                    <layui:simpleDictSelect style='layui-input-inline' type="declarationCategory" readonly="true"
                                            id="declarationCategory" name="declarationCategory"
                                            value="${renting.declarationCategory}" layVerify="required"/>
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">专业技术资格名称</label>
				<div class="layui-input-inline">
					<input type="text" id="technicalQualification" name="technicalQualification"  value="${renting.technicalQualification}"   class="layui-input input-readonly" readonly="true">
                </div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">专业等级</label>
				<div class="layui-input-inline">
					<input type="text" id="professionalGrade" name="professionalGrade"  value="${renting.professionalGrade}"   class="layui-input input-readonly" readonly="true">
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">职业技能资格名称</label>
				<div class="layui-input-inline">
					<input type="text" id="vocationalQualification" name="vocationalQualification"  value="${renting.vocationalQualification}"   class="layui-input input-readonly" readonly="true">
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">职业等级</label>
				<div class="layui-input-inline">
					<input type="text" id="vocationalGrade" name="vocationalGrade"  value="${renting.vocationalGrade}"   class="layui-input input-readonly" readonly="true">
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">在申报企业网上就业登记备案起止日期</label>
				<div class="layui-input-inline">
                    <input type="text"  value="${renting.startDate,"yyyy-MM-dd"}  至  ${renting.endDate,"yyyy-MM-dd"}"   class="layui-input input-readonly" readonly="true">
				</div>
            </div>
        </div>
    </div>
    <!--# if(renting.year != null && renting.year > '2019'){ -->
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">本单位参保起始年月</label>
                <div class="layui-input-inline">
                    <input type="text"  value="${renting.partInSocYears}"   class="layui-input input-readonly" readonly="true">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">首次进入名录内企业时间</label>
                <div class="layui-input-inline">
                    <!--# if(renting.inRosterDate == null || renting.inRosterDate == ''){ -->
                    <span style="color: red">&nbsp;&nbsp;数据异常,请勿提交</span>
                    <!--#} -->
                    <!--# if(renting.inRosterDate != null){ -->
                    <layui:simpleDictSelect style='layui-input-inline' type="inRosterDate" readonly="true"
                                            id="inRosterDate" name="inRosterDate"
                                            value="${renting.inRosterDate}" layVerify="required"/>
                    <!--#} -->
                </div>
            </div>
        </div>
    </div>
    <!--#} -->
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">特殊情况说明(最多100汉字)</label>
                <div class="layui-input-inline">
                    <textarea id="specialInstructions" name="specialInstructions"   class="layui-textarea input-readonly" style="width: 740px">${renting.specialInstructions}</textarea>
                </div>
            </div>
        </div>
    </div>
</fieldset>
    <fieldset class="layui-elem-field">
        <legend>已婚申报人的配偶、未成年子女信息</legend>
        <table  class="layui-table" lay-even lay-skin="nob">
            <tr>
                <td>姓名</td>
                <td>与申报人的关系</td>
                <td>证件类型</td>
                <td>身份证号码</td></tr>
            <!--# for(item in relatives){  -->
            <tr>
                <td>${item.relativesName}</td>
                <td>${item.relationshipName}</td>
                <td>${item.relativesIdTypeName}</td>
                <td>${item.relativesIdNumber}</td>
            </tr>
            <!--# }-->
        </table>
    </fieldset>

<fieldset class="layui-elem-field">
    <legend>材料信息</legend><!--# if(!has(look)){  --><input type="checkbox" class="validCheckBox" title="检查"><!--# } -->
    <!--# if(parseInt(renting.year) >= 2020){  -->
    <table class="layui-table" style="width: 660px;clear:both;margin:0px;">
        <thead>
        <tr>
            <th style="width: 300px;padding:4px 15px;">材料名称</th>
            <th style="width: 210px;padding:4px 15px;">操作</th>
        </tr>
        <tbody>
        <tr>
            <td>身份证件</td>
            <td>
                <button type="button" onclick="Common.openPreview('${renting.idfile}','预览')" class="layui-btn layui-btn-mini layui-btn-sm">预览</button>
            </td>
        </tr>
        <tr>
            <td>银行卡材料信息</td>
            <td>
                <button type="button" onclick="Common.openPreview('${renting.banknumber}','预览')" class="layui-btn layui-btn-mini layui-btn-sm">预览</button>
            </td>
        </tr>
        <tr>
            <td>租房合同</td>
            <td>
                <button type="button" onclick="Common.openPreview('${renting.rentingHouse}','预览')" class="layui-btn layui-btn-mini layui-btn-sm">预览</button>
            </td>
        </tr>
        <tr>
            <td>相关证书</td>
            <td>
                <button type="button" onclick="Common.openPreview('${renting.qualificationCertificate}','预览')" class="layui-btn layui-btn-mini  layui-btn-sm">预览</button>
            </td>
        </tr>
        <tr>
            <td>劳动合同书或劳动合同协议</td>
            <td>
                <button type="button" onclick="Common.openPreview('${renting.laborContract}','预览')" class="layui-btn layui-btn-mini layui-btn-sm">预览</button>
            </td>
        </tr>
        </tbody>
        </thead>
    </table>
    <!--# } -->
    <!--#  if(parseInt(renting.year) < 2020){ -->
    <div class="layui-row">
        <label class="layui-form-label file-upload">身份证件</label>
        <layui:attachment name="idfile" batchFileUUID="${renting.idfile}" isNew="false" bizType="User" readonly="true"/>
    </div>
    <div class="layui-row">
        <label class="layui-form-label file-upload">银行卡材料信息</label>
        <layui:attachment name="banknumber" batchFileUUID="${renting.banknumber}" isNew="false" bizType="User" readonly="true"/>
    </div>
    <div class="layui-row">
        <label class="layui-form-label file-upload">租房合同</label>
        <layui:attachment name="rentingHouse" batchFileUUID="${renting.rentingHouse}" isNew="false" bizType="User" readonly="true"/>
    </div>
    <div class="layui-row">
        <label class="layui-form-label file-upload">相关证书</label>
        <layui:attachment name="qualificationCertificate" batchFileUUID="${renting.qualificationCertificate}" isNew="false" bizType="User" readonly="true"/>
    </div>
    <div class="layui-row">
        <label class="layui-form-label file-upload">劳动合同书或劳动合同协议</label>
        <layui:attachment name="laborContract" batchFileUUID="${renting.laborContract}" isNew="false" bizType="User" readonly="true"/>
    </div>
    <!--# } -->

</fieldset>
    <input type="hidden"  name="userId"  value="${renting.userId}" >
    <input type="hidden"  name="companyId"  value="${renting.companyId}" >
    <input type="hidden"  name="businessState"  value="${renting.businessState}" >
    <input type="hidden"  name="businessStateCode"  value="${renting.businessStateCode}" >
    <input type="hidden"  name="processUserName"  value="${renting.processUserName}" >
    <input type="hidden"  name="processUserId"  value="${renting.processUserId}" >
    <input type="hidden"  name="processResult"  value="${renting.processResult}" >
    <input type="hidden"  name="relativesId"  value="${renting.relativesId}" >
    <input type="hidden"  name="year"  value="${renting.year}" >
    <input type="hidden" name="roleName" value=${renting.roleName} >
	<!-- 业务对象须有hidden字段，保存delFlag和version字段-->
	<input type="hidden" name="delFlag" value=${renting.delFlag} />
    <input type="hidden" name="id" value=${renting.id} />

